package com.rmb.mart.qurey;

/**
 * @version 1.0
 * @Author ZhaoMuYang
 * @Date 2021/1/21 11:34
 */
public class QueryPage {
    private final static Integer PAGE_NUM =0;
    private final static Integer PAGE_SIZE =10;

    /**
     * 当前页数
     */
    public Integer currentPage;
    /**
     * 每页条数
     */
    private Integer pageNumber;

    public Integer getCurrentPage() {
        return currentPage==null?PAGE_NUM:currentPage;
    }

    public Integer getPageNumber() {
        return pageNumber==null?PAGE_SIZE:pageNumber;
    }
}
